package DesignPatern.A22_享元模式.A01_基本模式;

/**
 * @Author: Du
 * @Date: 2021/8/12 15:46
 */
public class A01_Main
{
    public static void main(String[] args)
    {
        for (int i = 0; i < 4; i++)
        {
            String sub = "科目" + i;
            for (int j = 0; j < 10; j++)
            {
                String key = sub + "考试地点" + i;
                SignInfoFactory.getSignInfo(key);
            }
        }
        SignInfoFactory.getSignInfo("科目99考试地点99");
    }
}
